package com.zeus.service.api.weixin.impl;

import com.zeus.service.api.weixin.entity.AppEntity;
import com.zeus.service.api.weixin.service.WeiXinService;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WeiXinServiceImpl implements WeiXinService {
    /**
     * 接口没有视图层，只有业务逻辑所以叫做Service，不叫Controller
     * 因为从接口里面把注解继承过来了，所以就不用写了
     * @return
     */
    @Override
    public AppEntity getApp() {
        return new AppEntity("sc", "7999");
    }
}
